home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / utils / whichsrc.arc / README < prev    next >
Text File  |  1990-03-20  |  711b  |  18 lines

  1. This is an ST adaptation of a "which" program somone posted to 
  2. net.sources many years ago to replace the agonisingly slow
  3. BSD "which" script with a program.  I've used  it on our un*x
  4. system for years, and finally decided I couldn't do without
  5. it on the ST any longer..  Anyway, here it is (with source,
  6. its trivial enough.)  To use it just say
  7.  
  8. % which haha
  9.  
  10. and it'll add in the ".prg" or ".tos" or ".ttp" while checking for the file.  
  11. (it'll look for all three.)  It works with the Mark Williams C "msh" PATH,
  12. but you can easily modify it for your favourite shell, just change the comma
  13. in the #define for DELIMETERat the top to whatever the delimeter is for
  14. the PATH in your shell.
  15.  
  16. -ravi
  17. (ravi@mcnc.org)
  18.